{% extends "widpylogin/base_site.html" %}
{% load i18n %}

{% block extrastyle %}{% load adminmedia %}{{ block.super }}<link rel="stylesheet" type="text/css" href="/media/css/login.css" />{% endblock %}


{% block bodyclass %}login{% endblock %}
{% block branding %}
<h1 id="site-name" style="text-align: center;color:#aaa">{% trans 'Ecosystem Login' %}</h1>
<li style="text-align: center;color:#aaa"><a href="/inicio/" class="menu">Home</a></li>
{% endblock %}
{% block content_title %}{% endblock %}

{% block breadcrumbs %}{% endblock %}

{% block content %}

{% if error_message %}
<p class="errornote">{{ error_message }}</p>
{% endif %}
<div id="content-main">
<form action="." method="post" id="login-form">
  <div class="form-row">
    <label for="id_username">{% trans 'Username:' %}</label> <input type="text" name="username" id="id_username" />
  </div>
  <div class="form-row">
    <label for="id_password">{% trans 'Password:' %}</label> <input type="password" name="password" id="id_password" />
  </div>
  <div class="submit-row">
    <label>&nbsp;</label><input type="submit" value="{% trans 'Log in' %}" />
	<input type="hidden" name = "next" value="{{next}}" />
  </div>
  <div id="container" style="text-align: center; margin-top: 10px; margin-left: -19px;">
  <div id="member" >Not yet a Member?</div>
  
  <div id="register"><a href="/registrar/" class="register">Register Now</a></div><br>
  <div id="forgotpsw">Forgot your Password?</div>
  <div id="resetpsw"><a href="/resetpassword/" class="password">Reset Password</a></div>
  </div>
</form>
<script type="text/javascript">
document.getElementById('id_username').focus()
</script>
</div>
{% endblock %}
